package com.example.zhaohang.selfeapplication;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends BasicActivity {

    private float               mFloat;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    //第三方登录
    public void login(View view) {
    }

    //第三方分享
    public void share(View view) {
    }

    //异常处理工具类
    public void creash(View view) {
        mFloat = 1 / 0;
    }

    //fragment任务栈
    public void taske(View view) {
        startActivity(new Intent(MainActivity.this,ShowActivity.class));
    }

    public void buttonchegefragemt(View view) {
        startActivity(new Intent(MainActivity.this,ChengeButtomButtonActivity.class));
    }

}
